<?php include $this->getViewFile('/common/Head') ?>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
  <?php include $this->getViewFile('/common/Nav') ?>
  <div class="h_a">查找</div>
  <form method="post" action="" id="searchForm">
    <div class="search_type cc mb10">
       <div class="mb10">
        关键字：<?php echo Form::select(array('email'=>'会员邮箱','uid'=>'会员id','username'=>'会员名称','phone'=>'手机号','taobao_user_nick'=>'旺旺号'),$sType,'name="sType"') ?>
        <input type="text" class="input length_2" name="keyword" style="width:200px;" value="<?php echo $keyword?>" placeholder="请输入搜索内容...">
        <button class="btn">搜索</button>
      </div>
    </div>
  </form>
  <div class="mb10"> 共有 ( <b><?php echo $count; ?></b> ) 个记录</div>
  <form name="myform" action="<?php echo AdminBase::U("delete") ?>" method="post" class="J_ajaxForm">
    <div class="table_list">
      <table width="100%" cellspacing="0">
        <thead>
            <tr>
              <td align="center">用户ID</td>
              <td align="center">变动类型</td>
              <td align="center" width="">备注</td>
              <td align="center" width="">创建时间</td>
              <td align="center" width="">变动金额</td>
              <td align="center" width="">用户当前余额</td>
            </tr>
        </thead>
        <tbody>
          <?php
		  foreach($data as $rs){
		  ?>
              <tr>
                  <td align="center"><?php echo $rs->uid;?></td>
                  <td align="center"><?php echo MembersMoneyActionModel::getTypeHmtl($rs->type); ?></td>
                  <td align="center" width=""><?php echo $rs->getNodeHtml();?></td>
                  <td align="center" width=""><?php echo date('Y-m-d H:i:s',$rs->action_time) ?></td>
                                          
                  <td align="center" width=""><?php echo $rs->money;?></td>
                  <td align="center" width=""><?php echo $rs->usermoney;?></td>
              </tr>
          <?php
		  }
		  ?>
        </tbody>
      </table>
      <div class="p10">
        <div class="pages"><?php echo $Page;?></div>
      </div>
    </div>
  </form>
</div>
<script src="<?php echo $staticUrl; ?>statics/js/common.js"></script>

</body>
</html>